package com.lyhengtongwl.zqsnews.imageLoader;

import android.content.Context;
import android.widget.ImageView;

import com.squareup.picasso.MemoryPolicy;
import com.squareup.picasso.Picasso;
import com.lyhengtongwl.zqsnews.App;
import com.youth.banner.loader.ImageLoader;

/**
 * Created by Steven on 2019/1/9.
 */
public class GlideImageLoader extends ImageLoader {
    @Override
    public void displayImage(Context context, Object path, ImageView imageView) {
        Picasso.with(App.getContext()).load((String) path).memoryPolicy(MemoryPolicy.NO_CACHE).into(imageView);
    }
}
